package com.factory._13observe.demo2;

/**
 * @author Qinye
 * @date 2023/8/13 16:25
 */
public class ConcreteSubject  extends  Subject{
    private String state;
    public void change(String newState){
         state = newState;
         this.notifyObservers();
    }
}
